﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _05_枚举
{

    class Program
    {
        
        static void Main(string[] args)
        {
            Console.WriteLine(TimeOfDay.Morning.ToString());
            Console.ReadKey();

        }
        private int _myProperty;
        public int MyProperty
        {
            get { return _myProperty; }
            set { _myProperty = value; }
        }
    }

    enum TimeOfDay
    {
        Morning = 0,
        Afternoon = 1,
        Eveing = 3
    }
}
